package com.zy.studentSide.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.studentSide.entity.StudentTask;

import java.util.List;

/**
 * @author 29787
 */
public interface IStudentTaskService extends IService<StudentTask> {

    /**
     * 查询是否已提交作业
     * @param classroomId
     * @param studentId
     * @param taskId
     * @param teacherId
     * @param courseId
     * @return StudentTask
     */
    StudentTask getStudentTask(Integer classroomId,Integer studentId,Integer taskId,Integer teacherId,Integer courseId);

    /**
     * 查询作业信息
     * @param classroomId
     * @param taskId
     * @param teacherId
     * @param courseId
     * @return StudentTask
     */
    List<StudentTask> getStudentTaskById(Integer classroomId, Integer taskId, Integer teacherId, Integer courseId);

}
